package de.softcon.sc4retail.domainmodel;

import java.util.HashMap;
import java.util.LinkedList;

/**
 * Contains the available stock - such as snowboards, skiing glasses, boots ...
 * @author fmannan
 *
 */
public final class Stock {

	private HashMap<Integer, Snowboard> snowboards = new HashMap<Integer, Snowboard> ();
	private HashMap<Integer, SkiGoggles> skiGoggles = new HashMap<Integer, SkiGoggles> ();
	private static Stock self = null;
	
	
	public static Stock getInstance()
	{
		if(self == null)
		{
			self = new Stock();
		}
		return self;
	}
	
	private Stock()
	{
		snowboards.put(0, new Snowboard("Burton Blunt Wide", "Freestyle", "153cm - 162cm", "Burton", 369));
		snowboards.put(1, new Snowboard("Burton Bullet Wide", "Freeride", "154cm - 164cm", "Burton", 329));
		snowboards.put(2, new Snowboard("Burton Clash", "Freeride", "155cm", "Burton", 259));
		snowboards.put(3, new Snowboard("Burton Custom Flying V Wide", "Swingboard", "155cm - 169cm", "Burton", 530));
		snowboards.put(4, new Snowboard("Burton Hate", "Splitboard", "153cm - 162cm", "Burton", 279));
		snowboards.put(5, new Snowboard("Burton Deuce Wide", "Splitboard", "153cm", "Burton", 280));
		snowboards.put(6, new Snowboard("Burton Easy Livin", "Splitboard", "152cm - 158cm", "Burton", 529));		
		
		skiGoggles.put(0, new SkiGoggles("Smith Interchangeable Optics", "Smith", 180));
		skiGoggles.put(0, new SkiGoggles("Persimmon 68", "Giro Station", 69));
		skiGoggles.put(0, new SkiGoggles("Smith Anthem SPH", "Smith", 79));		
	}

	public HashMap<Integer, Snowboard> getSnowboards() {
		return snowboards;
	}

	public HashMap<Integer, SkiGoggles> getSkiGoggles() {
		return skiGoggles;
	}
}
